Delete Channel
AutomatR.MicrosoftTeams.DeleteChannel
The "Delete Channel" activity in AutomatR for Microsoft Teams facilitates the removal of a channel within a specified Microsoft Teams account. This activity streamlines the process of channel deletion, enhancing the efficiency of automation workflows focused on Microsoft Teams integration.
Properties
Name | Description |
---|---|
Input | |
Channel ID | Specifies the ID of the channel to be deleted. String variables containing the Channel ID. |
Team ID | Specifies the Team ID from which the channel will be deleted. String variables containing the Team ID. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Delete Channel" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs the result of the "Delete Channel" operation, indicating whether the channel deletion was successful or encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result. |
How to use:
- Drag and drop the "Delete Channel" activity onto the workflow.
- Configure the properties by specifying the Channel ID and Team ID for the channel deletion within Microsoft Teams.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to delete the specified channel within the specified Microsoft Teams account.
Example: Consider an example where the "Delete Channel" activity is used to delete a channel with the ID "channelIdVariable" within a Microsoft Teams team:
Delete Channel:
Display Name: "Delete General Channel"
Channel ID: "channelIdVariable"
Team ID: "teamIdVariable"
Result: isChannelDeleted
In this example, the activity deletes the channel with the specified Channel ID within the Microsoft Teams team specified by the Team ID. The result of the operation (success or failure) is stored in the Boolean variable "isChannelDeleted" for further handling in the workflow.